package com.easemob.helpdesk.bean;


import java.util.List;

public class AdminVillage {

    private long id;

    private Long parentId;

    private Integer order;

    private String name;

    private int isOpen;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getWithPermission() {
        return withPermission;
    }

    public void setWithPermission(Integer withPermission) {
        this.withPermission = withPermission;
    }

    public List<AdminVillage> getVillageList() {
        return villageList;
    }

    public void setVillageList(List<AdminVillage> villageList) {
        this.villageList = villageList;
    }

    public boolean isShowAll() {
        return showAll;
    }

    public void setShowAll(boolean showAll) {
        this.showAll = showAll;
    }

    public int getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }

    private String key;

    //是否有权限
    private Integer withPermission;

    //小区list
    private List<AdminVillage> villageList;

    //是否显示全部按钮
    private boolean showAll;
}
